
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.abm.jwebsite.exception;

import org.abm.jwebsite.utilities.Utilities;

/**
 *
 * @author Saptarshi Debnath (saptarshi.devnath@gmail.com)
 */
public class SiteMapXMLNotCorrectlyStructuredException extends JWebsiteException {

    /**
     *
     */
    private static final long serialVersionUID = 5941642858571561824L;

    public SiteMapXMLNotCorrectlyStructuredException() {
        this("The configured site map xml file is not correctly structred and should be corrected as follows : "
                + Utilities.INSTANCE.getLineSeperator() + "<site-map>" + Utilities.INSTANCE.getLineSeperator()
                + "    <pages>" + Utilities.INSTANCE.getLineSeperator() + "         <navigation>"
                + Utilities.INSTANCE.getLineSeperator() + "     </pages>" + Utilities.INSTANCE.getLineSeperator()
                + "     <orphan>" + Utilities.INSTANCE.getLineSeperator() + "         <navigation>"
                + Utilities.INSTANCE.getLineSeperator() + "     <orphan>" + Utilities.INSTANCE.getLineSeperator()
                + "<site-map>");
    }

    public SiteMapXMLNotCorrectlyStructuredException(String message) {
        super(message);
    }
}
